package com.atguigu.tingshu.model.album;

import com.atguigu.tingshu.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serial;

/**
 * 标签值实体类--对应数据库中的base_attribute_value表
 * @author sun
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("base_attribute_value")
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class BaseAttributeValue extends BaseEntity {

	@Serial
	private static final long serialVersionUID = 1L;
	/**
	 * 属性值对应的属性id
	 */
	@TableField("attribute_id")
	private Long attributeId;
	/**
	 * 属性值名称
	 */
	@TableField("value_name")
	private String valueName;

}